package com.insigma.business.qrcode.soldier.entity;

import lombok.Data;


@Data
public class NumberEntity {

    private static final long serialVersionUID = 1L;

    public NumberEntity() {
        this.allNum = 0;
        this.studentNum = 0;
    }

    public NumberEntity(Integer allNum, Integer studentNum) {
        this.allNum = allNum;
        this.studentNum = studentNum;
    }

    private Integer allNum;

    private Integer studentNum;

    public void increaseAllNum(){
        allNum++;
    }

    public void increaseStudentNum(){
        studentNum++;
    }

}
